﻿@model CloudFranceTriple.Models.LaBaffSet

@{
    ViewBag.Title = CloudFranceTriple.WebRole.Properties.Resources.LaBaffEditTitle;
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="content-padding">
    <h1>@CloudFranceTriple.WebRole.Properties.Resources.LaBaffEditTitle</h1>
    <section>
        @using (Html.BeginForm())
        {
            @Html.AntiForgeryToken()
            @Html.ValidationSummary(true)

            <fieldset>
                <legend>@CloudFranceTriple.WebRole.Properties.Resources.LaBaffEditTitle</legend>

                @Html.HiddenFor(model => model.Id)

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffName
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Name)
                    @Html.ValidationMessageFor(model => model.Name)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffTag
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Tag)
                    @Html.ValidationMessageFor(model => model.Tag)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffIsPublicVisible
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.IsPublicVisible)
                    @Html.ValidationMessageFor(model => model.IsPublicVisible)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffDescription
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Description)
                    @Html.ValidationMessageFor(model => model.Description)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffWebsite
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Website)
                    @Html.ValidationMessageFor(model => model.Website)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffTeamspeakIp
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.TeamspeakIp)
                    @Html.ValidationMessageFor(model => model.TeamspeakIp)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffBannerImageUrl
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.BannerImageUrl)
                    @Html.ValidationMessageFor(model => model.BannerImageUrl)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffOrder
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Order)
                    @Html.ValidationMessageFor(model => model.Order)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffBf3PlatoonUrl
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Bf3PlatoonUrl)
                    @Html.ValidationMessageFor(model => model.Bf3PlatoonUrl)
                </div>

                <div class="editor-label">
                    @CloudFranceTriple.WebRole.Properties.Resources.LaBaffBf4PlatoonUrl
                </div>
                <div class="editor-field">
                    @Html.EditorFor(model => model.Bf4PlatoonUrl)
                    @Html.ValidationMessageFor(model => model.Bf4PlatoonUrl)
                </div>

                <p>
                    <input type="submit" value="@CloudFranceTriple.WebRole.Properties.Resources.ButtonSave" />
                </p>
            </fieldset>
        }
        @Html.Partial("_LaBaffBackToList")
        @section Scripts {
            @Scripts.Render("~/bundles/jqueryval")
        }
    </section>
</div>
